/*
 * Copyright (c) 2017. 深圳一七科技. All rights reserved.
 */

package com.yiqi.liebang.feature.news.dependencies.issues;



import com.yiqi.liebang.feature.news.contract.IssuesContract;
import com.yiqi.liebang.feature.news.presenter.IssuesPresenter;
import com.yiqi.liebang.feature.people.contract.PeopleContract;
import com.yiqi.liebang.feature.people.presenter.PeoplePresenter;

import dagger.Module;
import dagger.Provides;

/**
 *      LIJUWEN
 * @email yiyayiyayaoljw@gmail.com
 * @date 2018/7/11 9:27
 */
@Module
public class IssuesPresenterModule {
    private final IssuesContract.View mView;

    public IssuesPresenterModule(IssuesContract.View mView) {
        this.mView = mView;
    }

    @Provides
    public IssuesContract.Presenter provideIssuesPresenter(){
        return  new IssuesPresenter(mView);
    }

}
